<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/common/taglibs.jsp"%>
<script type="text/javascript" charset="utf-8" src="${ctx}/editor/kindeditor-min.js"></script>
<div class="dirbar">
	<a href="<c:url value='/home.do'/>"><span>首页</span></a> &gt;&gt; <a href="<c:url value='/convene/index.do'/>"><span>信息台</span></a> &gt;&gt; <span>发布信息</span>
</div>
<div class="ntopic">
	<form id="f_convene_topic" action="<c:url value='/convene/save.do'/>" method="post" >
		<input type="hidden" name="conveneId" value="${conveneId }"/>
		<span>标&nbsp;&nbsp;题:</span>
		<input id="convene_title" name="convene.title" value="${convene.title}" size="40" class="input"/>
		<br/>
		<span>内&nbsp;&nbsp;容:</span>
		<br/>
		<c:if test="${not empty message}">
			<div id="div_convene_error" class="div_topic_error" style="display:block">
				<c:out value="${message}"></c:out>
			</div>
		</c:if>
		<textarea id="convene_content" name="convene.content" rows="200" cols="80" style="width:750px;height:400px"><c:out value='${convene.content}'/></textarea>
		<br/>
		<button class="btn1" type="submit" name="submitConvene">发表</button>
	</form>
</div>
<script type="text/javascript">
KE.show({
	id : 'convene_content',
	imageUploadJson : ctx+'/h/keditor.do',
	fileManagerJson : ctx + '/editor/jsp/file_manager_json.jsp',
	allowFileManager : true,
	afterCreate : function(id) {
		KE.event.ctrl(document, 13, function() {
			KE.util.setData(id);
			document.forms['convene_content'].submit();
		});
		KE.event.ctrl(KE.g[id].iframeDoc, 13, function() {
			KE.util.setData(id);
			document.forms['convene_content'].submit();
		});
	}
});
</script>